package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanProductDao;
import com.open.system.domain.LoanProductDO;
import com.open.system.service.LoanProductService;



@Service
public class LoanProductServiceImpl implements LoanProductService {
	@Autowired
	private LoanProductDao loanProductDao;
	
	@Override
	public LoanProductDO get(Long id){
		return loanProductDao.get(id);
	}
	
	@Override
	public List<LoanProductDO> list(Map<String, Object> map){
		return loanProductDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanProductDao.count(map);
	}
	
	@Override
	public int save(LoanProductDO loanProduct){
		return loanProductDao.save(loanProduct);
	}
	
	@Override
	public int update(LoanProductDO loanProduct){
		return loanProductDao.update(loanProduct);
	}
	
	@Override
	public int remove(Long id){
		return loanProductDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanProductDao.batchRemove(ids);
	}

	@Override
	public List<LoanProductDO> listCheck(Map<String, Object> map) {
		return loanProductDao.listCheck(map);
	}

	@Override
	public int countCheck(Map<String, Object> map) {
		return loanProductDao.countCheck(map);
	}
	
}
